Output Expanders

Table Name: GXT_PGMEXPANDERS_TBL

List

Request a list of output expanders.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_PGMEXPANDERS_TBL
  • Response:

    Copy
    1=Output Expander&2=Output Expander 2

Detail

Request the details of a specific output expander.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_PGMEXPANDERS_TBL&RecId=<RecId>
  • Response:

    Copy
    PGMExpanderId=1&Name=Output Expander&PollTime=250&HighChargeCurrent=false&InvertDeviceTamper=false&VirtualModule=false&PhysicalAddress=0&Commands=

Update

Update a specific output expander.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_PGMEXPANDERS_TBL&PGMExpanderId=1&Name=PX1
  • Response:

    Copy
    OK

Create

Create an output expander. To create an output expander, use the same parameters as update but leave the OutputExpanderId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_OUTPUTEXPANDERS_TBL&PGMExpanderId=&Name=Output Expander&PollTime=250&HighChargeCurrent=false&InvertDeviceTamper=false&VirtualModule=false&PhysicalAddress=0&Commands=
  • Response:

    Copy
    OK

When using the API to directly add records, please ensure the number of records added does not exceed the license limit for this record type, as this will result in undefined behavior. The license limit can be determined using the LicenseLimit request (see System).

Delete

Delete a specific output expander.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_PGMEXPANDERS_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Notes

PGMExpanderId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Output Expander

 

PollTime

 

250

This is a legacy option that has no effect.

HighChargeCurrent

High Charge Current

false

This is a legacy option that has no effect.

InvertDeviceTamper

Invert Device Tamper

false

 

VirtualModule

Virtual Module

false

 

PhysicalAddress

Physical Address

0

 

Commands

Commands